﻿<%@ Page Title="Sell Offer Detail" Language="C#" MasterPageFile="~/GuestView.master"
    AutoEventWireup="true" CodeBehind="sSellOffersDetail.aspx.cs" Inherits="BestBuy.PageGuest.sSellOffersDetail" %>

<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
    <asp:ScriptManager ID="ScriptManager1" runat="server" />
    <asp:Panel ID="Panel1" runat="server">
        <div class="left-side-bar bs-docs-sidebar">
            <ul class="nav nav-list bs-docs-sidenav">
                <li class="active" style="text-align: center;"><a href="#">Menu Quick</a></li>
                <li>
                    <asp:HyperLink ID="hlProduct" runat="server">
                        <i class="icon-chevron-right"></i>Product Catalog(<asp:Label runat="server" ID="lbCountProduct"></asp:Label>)</asp:HyperLink></li>
                <li>
                    <asp:HyperLink ID="hlSell" runat="server">
                        <i class="icon-chevron-right"></i>Sell Offers(<asp:Label runat="server" ID="lbCountSell"></asp:Label>)</asp:HyperLink></li>
                <li>
                    <asp:HyperLink ID="hlBuy" runat="server">
                        <i class="icon-chevron-right"></i>Buy Offers(<asp:Label runat="server" ID="lbCountBuy"></asp:Label>)</asp:HyperLink></li>
            </ul>
        </div>
    </asp:Panel>
    <div class="main-content">
        <div id="linkQuick" runat="server">
            <a href="../Default.aspx">Home </a>> <a href="sListCategory.aspx">Sell Offers </a>
            >
        </div>
        <br />
        <table width="100%">
            <tr>
                <td style="width: 200px; text-align: center; vertical-align: top; padding: 0px 10px 0px 0px;">
                    <asp:Image ID="image" CssClass="img_product" runat="server" Width="200px" Height="200px" />
                    <br />
                    <asp:LinkButton ID="lnkPopup" Style="cursor: pointer; font-size: 12px;" runat="server"
                        CausesValidation="false" OnClick="lnkPopup_Click">View Image Full</asp:LinkButton>
                </td>
                <td>
                    <table width="100%">
                        <tr>
                            <td colspan="2">
                                <h3>
                                    <asp:Label ID="lbName" runat="server"></asp:Label>
                                </h3>
                                <hr />
                            </td>
                        </tr>
                        <tr>
                            <td class="td_ProductDetail_right">
                                Country :
                            </td>
                            <td class="td_ProductDetail_left">
                                <asp:Image ID="imgCountry" runat="server" Style="vertical-align: top;" Height="16"
                                    Width="20" />
                                <asp:Label ID="lbCountry" runat="server"></asp:Label>
                            </td>
                        </tr>
                        <tr>
                            <td class="td_ProductDetail_right">
                                Place of Origin :
                            </td>
                            <td class="td_ProductDetail_left">
                                <asp:Label ID="lbPlace" runat="server"></asp:Label>
                            </td>
                        </tr>
                        <tr>
                            <td class="td_ProductDetail_right">
                                Minimum Order Quantity :
                            </td>
                            <td class="td_ProductDetail_left">
                                <asp:Label ID="lbMinimum" runat="server"></asp:Label>
                            </td>
                        </tr>
                        <tr>
                            <td class="td_ProductDetail_right">
                                Supplying Ability :
                            </td>
                            <td class="td_ProductDetail_left">
                                <asp:Label ID="lbSupplying" runat="server"></asp:Label>
                            </td>
                        </tr>
                        <tr>
                            <td class="td_ProductDetail_right">
                                Delivery Time :
                            </td>
                            <td class="td_ProductDetail_left">
                                <asp:Label ID="lbDelivery" runat="server"></asp:Label>
                            </td>
                        </tr>
                        <tr>
                            <td class="td_ProductDetail_right">
                                Payment Type :
                            </td>
                            <td class="td_ProductDetail_left">
                                <asp:Label ID="lbPayment" runat="server"></asp:Label>
                            </td>
                        </tr>
                        <tr>
                            <td class="td_ProductDetail_right">
                                Offer Expired: :
                            </td>
                            <td class="td_ProductDetail_left">
                                <asp:Label ID="lbOfferExpired" runat="server"></asp:Label>
                            </td>
                        </tr>
                        <tr>
                            <td class="td_ProductDetail_right">
                            </td>
                            <td class="td_ProductDetail_left">
                                <asp:Button ID="btnContact" runat="server" CssClass="style_button" Text="Contact Now"
                                    OnClick="btnContact_Click" />
                            </td>
                        </tr>
                    </table>
                </td>
            </tr>
            <tr>
                <td colspan="2">
                    <br />
                    <h4 style="color: rgb(0,0,128)">
                        Product Description</h4>
                    <hr class="tag_hr" />
                    <div style="color: GrayText; width: 80%;">
                        <asp:Label ID="lbDescription" runat="server"></asp:Label>
                    </div>
                </td>
            </tr>
            <tr>
                <td colspan="2">
                    <br />
                    <h4 style="color: rgb(0,0,128)">
                        Related Sell Offers</h4>
                    <hr class="tag_hr" />
                    <asp:DataList ID="dlRelatedProducts" CssClass="DataList_Related" runat="server" RepeatColumns="2">
                        <ItemTemplate>
                            <div class="sellItem">
                                <div>
                                    <img id="imgFlagsCountry" runat="server" style="float: left; vertical-align: top;
                                        padding-top: 1px; margin-right: 10px;" src='<%# "~/Images/Flags/" + Eval("ThongTinTaiKhoan.QuocGia.TenQuocGia") + ".gif" %>'
                                        height="16" width="20" />
                                    <a target="_blank" style="float: left;" href='sSellOffersDetail.aspx?pid=<%#Eval("IDBangTinBan") %>'>
                                        <%#Eval("TieuDe") %></a>
                                </div>
                            </div>
                        </ItemTemplate>
                    </asp:DataList>
                </td>
            </tr>
            <tr>
                <td colspan="2">
                    <br />
                    <h4 style="color: rgb(0,0,128)">
                        Contact This<asp:Label ID="lbh4Contact" runat="server"></asp:Label></h4>
                    <hr class="tag_hr" />
                </td>
            </tr>
            <tr>
                <td style="width: 40%">
                    <asp:Panel ID="pnError" runat="server">
                        <asp:Label ID="lbError" runat="server"></asp:Label>
                    </asp:Panel>
                </td>
                <td style="width: 60%">
                    <asp:Panel ID="pnContact" runat="server" CssClass="message_exist">
                        <div class="info">
                            Previously you had to contact this account</div>
                        <div>
                            <div style="margin: 0px 0px 0px 0px">
                                <div style="margin-bottom: 0px">
                                </div>
                                <div style="margin: 0px; padding: 0px; border: 0px inset;">
                                    <div style="display: none;">
                                        <p style="color: GrayText;">
                                            <asp:Label ID="lbNoiDung" runat="server"></asp:Label></p>
                                    </div>
                                    <img alt="" id="img_anhien" src="../Images/Layout/sortdesc.gif" title="More" onclick="if (this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display != ''){ this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display = '';this.innerText = ''; this.src = '../Images/Layout/sortasc.gif';this.title='Less'; 
		                                            }
		                                            else 
		                                            { this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display = 'none'; this.innerText = ''; this.src = '../Images/Layout/sortdesc.gif';this.title='More'; }" />
                                </div>
                            </div>
                        </div>
                    </asp:Panel>
                    <br />
                </td>
            </tr>
            <tr>
                <td style="padding-right: 50px; text-align: right; vertical-align: top;">
                    To :
                </td>
                <td style="padding-bottom: 10px;">
                    <asp:Label ID="lbPerson" runat="server"></asp:Label>
                    <asp:Label ID="lbCompanyContact" runat="server" Style="color: Green; font-weight: bold;"></asp:Label>
                </td>
            </tr>
            <tr>
                <td style="padding-right: 50px; text-align: right; vertical-align: top;">
                    Message :
                </td>
                <td>
                    <asp:TextBox ID="txtMessage" runat="server" TextMode="MultiLine" Height="150px" Width="70%"></asp:TextBox>
                    <br />
                    <asp:Button ID="btnSendMessage" CssClass="style_button" runat="server" Text="Send Message"
                        OnClick="btnSendMessage_Click" />
                </td>
            </tr>
        </table>
        <div style="padding-bottom: 50px;">
        </div>
        <asp:Button ID="btnHidden" runat="Server" Style="display: none" />
        <ajaxToolkit:ModalPopupExtender ID="mpeSanPham" runat="server" TargetControlID="btnHidden"
            PopupControlID="panEdit" BackgroundCssClass="md_background" CancelControlID="hlCancel">
        </ajaxToolkit:ModalPopupExtender>
        <asp:Panel ID="panEdit" runat="server" Height="450px" Width="500px" CssClass="InLeft md_window">
            <div style="text-align: center; margin: 30px 0px 0px 0px;">
                <asp:Image ID="imgFull" CssClass="img_product" runat="server" Width="400px" Height="400px" />
            </div>
            <asp:HyperLink ID="hlCancel" runat="server" CssClass="hlCancel" ToolTip="Close">X</asp:HyperLink>
        </asp:Panel>
    </div>
</asp:Content>
